package com.wl.service;

import java.util.List;

import com.wl.pojo.Member;

public interface MemberService {

	// 登录
	Member login(String memName, String password);

	// 查看所有
	List<Member> getMemAll();

	// 根据id查找
	Member getMemById(int memId);

	// 根据名称查找
	Member getMemByName(String memName);

	// 根据找回密码提示和找回密码答案查找
	Member getMemByQueAndAns(String que, String ans);

	// 添加
	int addMem(Member mem);

	// 修改
	int alterMem(Member mem);

	// 根据id删除
	int removeMemById(int memId);
}
